import { EggPlugin } from 'egg';
//import path = require('path')

export default {
  logrotator: false, // disable when use @midwayjs/logger
  static: true,
  tencentcloudSms: {
    enable: true,
    package: 'egg-tencentcloud-sms',
  },
  // sequelize: {
  //   enable: true,
  //   //package: 'egg-sequelize-ts',
  //   path:path.join(__dirname,'../lib/egg-sequelize-ts')
  // },
   validate: {
    enable: true,
    package: 'egg-validate',
  },
  cors: {
    enable: true,
    package: 'egg-cors',
  }
} as EggPlugin;
